﻿using System;
using System.Collections.Generic;
using System.Linq;
using ComputerVision.Data;
using ComputerVision.Data.Repositories;

namespace ComputerVision.Services
{
    public class CheDoKiemTraService:IService<CheDoKiemTra>
    {
        private readonly IEntityRepository<CheDoKiemTra> _cheDoKiemTraRepository;
        public CheDoKiemTraService(IEntityRepository<CheDoKiemTra> cheDoKiemTraRepository)
        {
            _cheDoKiemTraRepository = cheDoKiemTraRepository;
        }

        public CheDoKiemTra Create(CheDoKiemTra item)
        {
            throw new NotImplementedException();
        }

        public CheDoKiemTra Update(CheDoKiemTra item)
        {
            throw new NotImplementedException();
        }

        public CheDoKiemTra Detail(Guid id)
        {
            throw new NotImplementedException();
        }

        public List<CheDoKiemTra> ToList()
        {
            var item = _cheDoKiemTraRepository.GetAll().ToList();
            return item;
        }

        public void Delete(CheDoKiemTra item)
        {
            throw new NotImplementedException();
        }
    }
}
